package com.cainiao.pojo;

import java.math.BigDecimal;

/**
 * 
 * UsersAccountLog
 * 数据库表：users_account_log
 */
public class UsersAccountLog {

    /**
     * 
     * 表字段 : users_account_log.id
     */
    private Integer id;

    /**
     * 
     * 表字段 : users_account_log.user_id
     */
    private Integer userId;

    /**
     * 关联ID
     * 表字段 : users_account_log.join_id
     */
    private Integer joinId;

    /**
     * 0=减少 1=增加
     * 表字段 : users_account_log.type
     */
    private Boolean type;

    /**
     * 操作金额
     * 表字段 : users_account_log.money
     */
    private BigDecimal money;

    /**
     * 创建时间
     * 表字段 : users_account_log.create_time
     */
    private Integer createTime;

    /**
     * 操作说明
     * 表字段 : users_account_log.desc
     */
    private String desc;

    /**
     * Model 定义常量 例:1=充值 2=下订单 3=退款 4=后台人工调整
     * 表字段 : users_account_log.action_type
     */
    private Byte actionType;

    /**
     * 支付方式id
     * 表字段 : users_account_log.payment_id
     */
    private Integer paymentId;

    /**
     * 
     * 表字段 : users_account_log.payment_name
     */
    private String paymentName;

    /**
     * 获取  字段:users_account_log.id
     *
     * @return users_account_log.id, 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置  字段:users_account_log.id
     *
     * @param id the value for users_account_log.id, 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取  字段:users_account_log.user_id
     *
     * @return users_account_log.user_id, 
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置  字段:users_account_log.user_id
     *
     * @param userId the value for users_account_log.user_id, 
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取 关联ID 字段:users_account_log.join_id
     *
     * @return users_account_log.join_id, 关联ID
     */
    public Integer getJoinId() {
        return joinId;
    }

    /**
     * 设置 关联ID 字段:users_account_log.join_id
     *
     * @param joinId the value for users_account_log.join_id, 关联ID
     */
    public void setJoinId(Integer joinId) {
        this.joinId = joinId;
    }

    /**
     * 获取 0=减少 1=增加 字段:users_account_log.type
     *
     * @return users_account_log.type, 0=减少 1=增加
     */
    public Boolean getType() {
        return type;
    }

    /**
     * 设置 0=减少 1=增加 字段:users_account_log.type
     *
     * @param type the value for users_account_log.type, 0=减少 1=增加
     */
    public void setType(Boolean type) {
        this.type = type;
    }

    /**
     * 获取 操作金额 字段:users_account_log.money
     *
     * @return users_account_log.money, 操作金额
     */
    public BigDecimal getMoney() {
        return money;
    }

    /**
     * 设置 操作金额 字段:users_account_log.money
     *
     * @param money the value for users_account_log.money, 操作金额
     */
    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    /**
     * 获取 创建时间 字段:users_account_log.create_time
     *
     * @return users_account_log.create_time, 创建时间
     */
    public Integer getCreateTime() {
        return createTime;
    }

    /**
     * 设置 创建时间 字段:users_account_log.create_time
     *
     * @param createTime the value for users_account_log.create_time, 创建时间
     */
    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取 操作说明 字段:users_account_log.desc
     *
     * @return users_account_log.desc, 操作说明
     */
    public String getDesc() {
        return desc;
    }

    /**
     * 设置 操作说明 字段:users_account_log.desc
     *
     * @param desc the value for users_account_log.desc, 操作说明
     */
    public void setDesc(String desc) {
        this.desc = desc == null ? null : desc.trim();
    }

    /**
     * 获取 Model 定义常量 例:1=充值 2=下订单 3=退款 4=后台人工调整 字段:users_account_log.action_type
     *
     * @return users_account_log.action_type, Model 定义常量 例:1=充值 2=下订单 3=退款 4=后台人工调整
     */
    public Byte getActionType() {
        return actionType;
    }

    /**
     * 设置 Model 定义常量 例:1=充值 2=下订单 3=退款 4=后台人工调整 字段:users_account_log.action_type
     *
     * @param actionType the value for users_account_log.action_type, Model 定义常量 例:1=充值 2=下订单 3=退款 4=后台人工调整
     */
    public void setActionType(Byte actionType) {
        this.actionType = actionType;
    }

    /**
     * 获取 支付方式id 字段:users_account_log.payment_id
     *
     * @return users_account_log.payment_id, 支付方式id
     */
    public Integer getPaymentId() {
        return paymentId;
    }

    /**
     * 设置 支付方式id 字段:users_account_log.payment_id
     *
     * @param paymentId the value for users_account_log.payment_id, 支付方式id
     */
    public void setPaymentId(Integer paymentId) {
        this.paymentId = paymentId;
    }

    /**
     * 获取  字段:users_account_log.payment_name
     *
     * @return users_account_log.payment_name, 
     */
    public String getPaymentName() {
        return paymentName;
    }

    /**
     * 设置  字段:users_account_log.payment_name
     *
     * @param paymentName the value for users_account_log.payment_name, 
     */
    public void setPaymentName(String paymentName) {
        this.paymentName = paymentName == null ? null : paymentName.trim();
    }
}